package cn.org.timespace.ons.vo.base;

import java.util.Date;

/**
 * Machines entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Machines implements java.io.Serializable {

	// Fields

	private String mid;
	private String compCode;//厂家编码
//	private String compRandom;//厂家随机编码
	private String deviceCode;//机器码
	private String deviceRandom;//机器随机码
	private String type;//设备类型
	private String name;//设备名称
	private Integer status;//是否上线
	private String address;//地址
	private String remark;//备注
	private String userName;//
	private String theIdMachine;//终端类型Id
	// Constructors
	private String machinesID;//组合键
	private Date startTime;
	private Date createTime;
	private String dqM;
	private String selA;
	private String selB;
	private String selC;
	
	private String batch;//批次

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	/** default constructor */
	public Machines() {
	}

	/** minimal constructor */
	public Machines(String compCode,  String deviceCode,
			String deviceRandom, String type, Integer status , String theIdMachine) {
		this.compCode = compCode;
//		this.compRandom = compRandom;
		this.deviceCode = deviceCode;
		this.deviceRandom = deviceRandom;
		this.type = type;
		this.status = status;
		this.theIdMachine = theIdMachine;
	}

	/** full constructor */
	public Machines(String compCode,  String deviceCode,
			String deviceRandom, String type, String name, Integer status,
			String address, String remark,String userName , String theIdMachine,String batch) {
		this.compCode = compCode;
//		this.compRandom = compRandom;
		this.deviceCode = deviceCode;
		this.deviceRandom = deviceRandom;
		this.type = type;
		this.name = name;
		this.status = status;
		this.address = address;
		this.remark = remark;
		this.userName = userName;
		this.theIdMachine = theIdMachine;
		this.batch = batch;
	}

	// Property accessors

	
	
	public String getMachinesID() {
		return machinesID;
	}
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setMachinesID(String machinesID) {
		this.machinesID = machinesID;
	}
	
	public String getMid() {
		return this.mid;
	}

	public String getTheIdMachine() {
		return theIdMachine;
	}

	public void setTheIdMachine(String theIdMachine) {
		this.theIdMachine = theIdMachine;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getCompCode() {
		return this.compCode;
	}

	public void setCompCode(String compCode) {
		this.compCode = compCode;
	}

//	public String getCompRandom() {
//		return this.compRandom;
//	}
//
//	public void setCompRandom(String compRandom) {
//		this.compRandom = compRandom;
//	}

	

	public String getDeviceCode() {
		return deviceCode;
	}

	public void setDeviceCode(String deviceCode) {
		this.deviceCode = deviceCode;
	}

	public String getDeviceRandom() {
		return this.deviceRandom;
	}

	public void setDeviceRandom(String deviceRandom) {
		this.deviceRandom = deviceRandom;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDqM() {
		return dqM;
	}

	public void setDqM(String dqM) {
		this.dqM = dqM;
	}

	public String getSelA() {
		return selA;
	}

	public void setSelA(String selA) {
		this.selA = selA;
	}

	public String getSelB() {
		return selB;
	}

	public void setSelB(String selB) {
		this.selB = selB;
	}

	public String getSelC() {
		return selC;
	}

	public void setSelC(String selC) {
		this.selC = selC;
	}
}